<!-- HTML header for doxygen 1.8.9.1-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>ROSS: core/instrumentation/st-stats-buffer.c Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <a href="https://github.com/ROSS-org/ROSS">
   <div id="projectname">ROSS
   </div>
   </a>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_af18cf245e3394ab3b436135935cfd6e.html">core</a></li><li class="navelem"><a class="el" href="dir_e8784b64d701200ce05334d46c95fd71.html">instrumentation</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">st-stats-buffer.c</div>  </div>
</div><!--header-->
<div class="contents">
<a href="st-stats-buffer_8c.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="ross_8h.html">ross.h</a>&gt;</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="preprocessor">#include &lt;time.h&gt;</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="preprocessor">#include &lt;sys/stat.h&gt;</span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;</div>
<div class="line"><a name="l00005"></a><span class="lineno"><a class="line" href="st-stats-buffer_8c.html#a86bd57ddbfb119e4a19e5789df413b7d">    5</a></span>&#160;<span class="keyword">static</span> <span class="keywordtype">long</span> <a class="code" href="st-stats-buffer_8c.html#a86bd57ddbfb119e4a19e5789df413b7d">missed_bytes</a> = 0;</div>
<div class="line"><a name="l00006"></a><span class="lineno"><a class="line" href="st-stats-buffer_8c.html#aa3ef968b8508efce4af24ee8658abbb0">    6</a></span>&#160;<span class="keyword">static</span> MPI_Offset *<a class="code" href="st-stats-buffer_8c.html#aa3ef968b8508efce4af24ee8658abbb0">prev_offsets</a> = NULL;</div>
<div class="line"><a name="l00007"></a><span class="lineno"><a class="line" href="st-stats-buffer_8c.html#a7a20696378280060e4f94cf26c72a405">    7</a></span>&#160;<span class="keyword">static</span> MPI_File *<a class="code" href="st-stats-buffer_8c.html#a7a20696378280060e4f94cf26c72a405">buffer_fh</a> = NULL;</div>
<div class="line"><a name="l00008"></a><span class="lineno"><a class="line" href="st-stats-buffer_8c.html#aa0aa6536ecd02a329ef6cdcf90d91a1b">    8</a></span>&#160;<span class="keywordtype">char</span> <a class="code" href="st-stats-buffer_8c.html#aa0aa6536ecd02a329ef6cdcf90d91a1b">stats_directory</a>[<a class="code" href="st-instrumentation_8h.html#a2d0c8b178913329ba300f0773ed9d10f">INST_MAX_LENGTH</a>];</div>
<div class="line"><a name="l00009"></a><span class="lineno"><a class="line" href="st-stats-buffer_8c.html#ab44c46d8e6cc653effbfee8463cc7796">    9</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="st-stats-buffer_8c.html#ab44c46d8e6cc653effbfee8463cc7796">g_st_buffer_size</a> = 8000000;</div>
<div class="line"><a name="l00010"></a><span class="lineno"><a class="line" href="st-stats-buffer_8c.html#a5a5195bc43cc6594dc5fc3cbed1ec994">   10</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="st-stats-buffer_8c.html#a5a5195bc43cc6594dc5fc3cbed1ec994">g_st_buffer_free_percent</a> = 15;</div>
<div class="line"><a name="l00011"></a><span class="lineno"><a class="line" href="st-stats-buffer_8c.html#a0933ab5439795f559c01de07e8a2eb06">   11</a></span>&#160;<span class="keyword">static</span> <span class="keywordtype">int</span> <a class="code" href="st-stats-buffer_8c.html#a0933ab5439795f559c01de07e8a2eb06">buffer_overflow_warned</a> = 0;</div>
<div class="line"><a name="l00012"></a><span class="lineno"><a class="line" href="st-stats-buffer_8c.html#aaa85cd5c11b1b615a8bf097a16ff6195">   12</a></span>&#160;<span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="st-stats-buffer_8c.html#aaa85cd5c11b1b615a8bf097a16ff6195">file_suffix</a>[<a class="code" href="st-instrumentation_8h.html#a62e322fd5fc534ed1f671bfcae80f21faa337126075609fd5b808fdfbdf14369f">NUM_COL_TYPES</a>];</div>
<div class="line"><a name="l00013"></a><span class="lineno"><a class="line" href="st-stats-buffer_8c.html#a8fd07dc1fe2e480e47f680e67e2b4557">   13</a></span>&#160;FILE *<a class="code" href="st-stats-buffer_8c.html#a7f045b1373c5b216126b5faaba8fa470">seq_ev_trace</a>, *<a class="code" href="st-stats-buffer_8c.html#a8fd07dc1fe2e480e47f680e67e2b4557">seq_model</a>, *<a class="code" href="st-stats-buffer_8c.html#a729f18614571dcca273498b46b86d98f">seq_analysis</a>;</div>
<div class="line"><a name="l00014"></a><span class="lineno"><a class="line" href="st-stats-buffer_8c.html#a5cc340aa8e43a288efaa66bb48fab91c">   14</a></span>&#160;<span class="keyword">static</span> <a class="code" href="structst__stats__buffer.html">st_stats_buffer</a> **<a class="code" href="st-stats-buffer_8c.html#a5cc340aa8e43a288efaa66bb48fab91c">g_st_buffer</a>;</div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;</div>
<div class="line"><a name="l00016"></a><span class="lineno"><a class="line" href="st-stats-buffer_8c.html#acc40ff4e443edf9cfd1a2a1f5539a41d">   16</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="st-stats-buffer_8c.html#acc40ff4e443edf9cfd1a2a1f5539a41d">st_buffer_allocate</a>()</div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;{</div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;    <span class="keywordflow">if</span> (!(<a class="code" href="st-instrumentation_8c.html#aa6002a27f9236e4d9c61090a247341f5">g_st_engine_stats</a> || <a class="code" href="st-instrumentation_8c.html#a4775e770faa8c51fc4d08989f610770f">g_st_model_stats</a> || <a class="code" href="st-event-trace_8c.html#aa8f89edcf6adbbfc0b12f6376ca511c3">g_st_ev_trace</a> || <a class="code" href="specialized-lps_8c.html#af684a7b76fde8ed0e32b8a155af94f92">g_st_use_analysis_lps</a>))</div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;        <span class="keywordflow">return</span>;</div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;</div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;    <span class="keywordtype">int</span> i, rc;</div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;</div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;    <span class="comment">// setup directory for instrumentation output</span></div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="ross-extern_8h.html#a83ae3f8b8b94935a1dbdfa2d2552f508">g_tw_mynode</a> == <a class="code" href="ross-extern_8h.html#abb6067d27f1c3e888c1d276490f28088">g_tw_masternode</a>)</div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;    {</div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;        <span class="keywordflow">if</span> (!<a class="code" href="st-instrumentation_8c.html#abac0ec68b20db932445f4e9c699fef5a">g_st_stats_path</a>[0])</div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;            sprintf(<a class="code" href="st-instrumentation_8c.html#abac0ec68b20db932445f4e9c699fef5a">g_st_stats_path</a>, <span class="stringliteral">&quot;stats-output&quot;</span>);</div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;        rc = mkdir(<a class="code" href="st-instrumentation_8c.html#abac0ec68b20db932445f4e9c699fef5a">g_st_stats_path</a>, S_IRUSR | S_IWUSR | S_IXUSR);</div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;        <span class="keywordflow">if</span> (rc == -1)</div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;        {</div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;            sprintf(<a class="code" href="st-stats-buffer_8c.html#aa0aa6536ecd02a329ef6cdcf90d91a1b">stats_directory</a>, <span class="stringliteral">&quot;%s-%ld-%ld&quot;</span>, <a class="code" href="st-instrumentation_8c.html#abac0ec68b20db932445f4e9c699fef5a">g_st_stats_path</a>, (<span class="keywordtype">long</span>)getpid(), (<span class="keywordtype">long</span>)time(NULL));</div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;            mkdir(<a class="code" href="st-stats-buffer_8c.html#aa0aa6536ecd02a329ef6cdcf90d91a1b">stats_directory</a>, S_IRUSR | S_IWUSR | S_IXUSR);</div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;        }</div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;        <span class="keywordflow">else</span></div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;            sprintf(<a class="code" href="st-stats-buffer_8c.html#aa0aa6536ecd02a329ef6cdcf90d91a1b">stats_directory</a>, <span class="stringliteral">&quot;%s&quot;</span>, <a class="code" href="st-instrumentation_8c.html#abac0ec68b20db932445f4e9c699fef5a">g_st_stats_path</a>);</div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;    }</div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;</div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;    <span class="comment">// make sure everyone has the directory name</span></div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;    MPI_Bcast(<a class="code" href="st-stats-buffer_8c.html#aa0aa6536ecd02a329ef6cdcf90d91a1b">stats_directory</a>, <a class="code" href="st-instrumentation_8h.html#a2d0c8b178913329ba300f0773ed9d10f">INST_MAX_LENGTH</a>, MPI_CHAR, <a class="code" href="ross-extern_8h.html#abb6067d27f1c3e888c1d276490f28088">g_tw_masternode</a>, <a class="code" href="network-mpi_8c.html#af1faeba2bc478835b35af43287f19ba7">MPI_COMM_ROSS</a>);</div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;</div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;    <span class="comment">// allocate buffer pointers</span></div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;    g_st_buffer = (<a class="code" href="structst__stats__buffer.html">st_stats_buffer</a>**) <a class="code" href="ross-extern_8h.html#a445b1ed30cd2e8ef1f837e782a339a70">tw_calloc</a>(<a class="code" href="ross-extern_8h.html#afffdf140f2c492f61546ad783833f127">TW_LOC</a>, <span class="stringliteral">&quot;instrumentation (buffer)&quot;</span>, <span class="keyword">sizeof</span>(<a class="code" href="structst__stats__buffer.html">st_stats_buffer</a>*), <a class="code" href="st-instrumentation_8h.html#a62e322fd5fc534ed1f671bfcae80f21faa337126075609fd5b808fdfbdf14369f">NUM_COL_TYPES</a>);</div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;</div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;    <span class="comment">// setup MPI file offsets</span></div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;    <span class="keywordflow">if</span> (!<a class="code" href="st-stats-buffer_8c.html#aa3ef968b8508efce4af24ee8658abbb0">prev_offsets</a>)</div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;    {</div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;        <a class="code" href="st-stats-buffer_8c.html#aa3ef968b8508efce4af24ee8658abbb0">prev_offsets</a> = (MPI_Offset*) <a class="code" href="ross-extern_8h.html#a445b1ed30cd2e8ef1f837e782a339a70">tw_calloc</a>(<a class="code" href="ross-extern_8h.html#afffdf140f2c492f61546ad783833f127">TW_LOC</a>, <span class="stringliteral">&quot;statistics collection (buffer)&quot;</span>, <span class="keyword">sizeof</span>(MPI_Offset), <a class="code" href="st-instrumentation_8h.html#a62e322fd5fc534ed1f671bfcae80f21faa337126075609fd5b808fdfbdf14369f">NUM_COL_TYPES</a>);</div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;        <span class="keywordflow">for</span> (i = 0; i &lt; <a class="code" href="st-instrumentation_8h.html#a62e322fd5fc534ed1f671bfcae80f21faa337126075609fd5b808fdfbdf14369f">NUM_COL_TYPES</a>; i++)</div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;            <a class="code" href="st-stats-buffer_8c.html#aa3ef968b8508efce4af24ee8658abbb0">prev_offsets</a>[i] = 0;</div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;    }</div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;</div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;    <span class="comment">// set up file handlers</span></div>
<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;    <span class="keywordflow">if</span> (!<a class="code" href="st-stats-buffer_8c.html#a7a20696378280060e4f94cf26c72a405">buffer_fh</a>)</div>
<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;        <a class="code" href="st-stats-buffer_8c.html#a7a20696378280060e4f94cf26c72a405">buffer_fh</a> = (MPI_File*) <a class="code" href="ross-extern_8h.html#a445b1ed30cd2e8ef1f837e782a339a70">tw_calloc</a>(<a class="code" href="ross-extern_8h.html#afffdf140f2c492f61546ad783833f127">TW_LOC</a>, <span class="stringliteral">&quot;statistics collection (buffer)&quot;</span>, <span class="keyword">sizeof</span>(MPI_File), <a class="code" href="st-instrumentation_8h.html#a62e322fd5fc534ed1f671bfcae80f21faa337126075609fd5b808fdfbdf14369f">NUM_COL_TYPES</a>);</div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;</div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;}</div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;</div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;<span class="comment">/* initialize circular buffer for stats collection</span></div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;<span class="comment"> * basically the read position marks the beginning of used space in the buffer</span></div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;<span class="comment"> * while the write postion marks the end of used space in the buffer</span></div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="st-stats-buffer_8c.html#a9c813e13608176ebd85999c935e3c4af">   62</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="st-stats-buffer_8c.html#a9c813e13608176ebd85999c935e3c4af">st_buffer_init</a>(<span class="keywordtype">int</span> type)</div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;{</div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;    <span class="keywordtype">char</span> filename[<a class="code" href="st-instrumentation_8h.html#a2d0c8b178913329ba300f0773ed9d10f">INST_MAX_LENGTH</a>];</div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;    <a class="code" href="st-stats-buffer_8c.html#aaa85cd5c11b1b615a8bf097a16ff6195">file_suffix</a>[0] = <span class="stringliteral">&quot;gvt&quot;</span>;</div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;    <a class="code" href="st-stats-buffer_8c.html#aaa85cd5c11b1b615a8bf097a16ff6195">file_suffix</a>[1] = <span class="stringliteral">&quot;rt&quot;</span>;</div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;    <a class="code" href="st-stats-buffer_8c.html#aaa85cd5c11b1b615a8bf097a16ff6195">file_suffix</a>[2] = <span class="stringliteral">&quot;analysis-lps&quot;</span>;</div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;    <a class="code" href="st-stats-buffer_8c.html#aaa85cd5c11b1b615a8bf097a16ff6195">file_suffix</a>[3] = <span class="stringliteral">&quot;evtrace&quot;</span>;</div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;    <a class="code" href="st-stats-buffer_8c.html#aaa85cd5c11b1b615a8bf097a16ff6195">file_suffix</a>[4] = <span class="stringliteral">&quot;model&quot;</span>;</div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;</div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;    g_st_buffer[type] = (<a class="code" href="structst__stats__buffer.html">st_stats_buffer</a>*) <a class="code" href="ross-extern_8h.html#a445b1ed30cd2e8ef1f837e782a339a70">tw_calloc</a>(<a class="code" href="ross-extern_8h.html#afffdf140f2c492f61546ad783833f127">TW_LOC</a>, <span class="stringliteral">&quot;statistics collection (buffer)&quot;</span>, <span class="keyword">sizeof</span>(<a class="code" href="structst__stats__buffer.html">st_stats_buffer</a>), 1);</div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;    g_st_buffer[type]-&gt;<a class="code" href="structst__stats__buffer.html#a7a2303f87be4a016fed50bd61b39ea07">size</a>  = <a class="code" href="st-stats-buffer_8c.html#ab44c46d8e6cc653effbfee8463cc7796">g_st_buffer_size</a>;</div>
<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;    g_st_buffer[type]-&gt;<a class="code" href="structst__stats__buffer.html#a6ede8cc4838df499469c1e234d9c6357">write_pos</a> = 0;</div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;    g_st_buffer[type]-&gt;<a class="code" href="structst__stats__buffer.html#a66f8c1d1d9733404ef5f531a9f91f264">read_pos</a> = 0;</div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;    g_st_buffer[type]-&gt;<a class="code" href="structst__stats__buffer.html#a45ba57b226c19da357c2238a5b78dada">count</a> = 0;</div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;    g_st_buffer[type]-&gt;<a class="code" href="structst__stats__buffer.html#aaff85eeac754d61556c9a49bfe923465">buffer</a> = (<span class="keywordtype">char</span>*) <a class="code" href="ross-extern_8h.html#a445b1ed30cd2e8ef1f837e782a339a70">tw_calloc</a>(<a class="code" href="ross-extern_8h.html#afffdf140f2c492f61546ad783833f127">TW_LOC</a>, <span class="stringliteral">&quot;statistics collection (buffer)&quot;</span>, 1, g_st_buffer[type]-&gt;size);</div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;</div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;    <span class="comment">// set up MPI File</span></div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;    <span class="keywordflow">if</span> (!<a class="code" href="st-instrumentation_8c.html#aa9d73558c451caac8d15fdbff04f42cc">g_st_disable_out</a>)</div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;    {</div>
<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;        <span class="keywordflow">if</span> (!<a class="code" href="st-instrumentation_8c.html#ad6fb1fc5b4b238584836005cc23b9794">g_st_stats_out</a>[0])</div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;            sprintf(<a class="code" href="st-instrumentation_8c.html#ad6fb1fc5b4b238584836005cc23b9794">g_st_stats_out</a>, <span class="stringliteral">&quot;ross-stats&quot;</span>);</div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;        sprintf(filename, <span class="stringliteral">&quot;%s/%s-%s.bin&quot;</span>, <a class="code" href="st-stats-buffer_8c.html#aa0aa6536ecd02a329ef6cdcf90d91a1b">stats_directory</a>, <a class="code" href="st-instrumentation_8c.html#ad6fb1fc5b4b238584836005cc23b9794">g_st_stats_out</a>, <a class="code" href="st-stats-buffer_8c.html#aaa85cd5c11b1b615a8bf097a16ff6195">file_suffix</a>[type]);</div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;        <span class="keywordflow">if</span> (<a class="code" href="ross-extern_8h.html#ae22db4d4e754eff64535402f5fa60a5f">g_tw_synchronization_protocol</a> != <a class="code" href="ross-types_8h.html#abea764c61c75c56008ccf665a71246fda6b834d43476553e583e0fde6578c82f0">SEQUENTIAL</a>)</div>
<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;            MPI_File_open(<a class="code" href="network-mpi_8c.html#af1faeba2bc478835b35af43287f19ba7">MPI_COMM_ROSS</a>, filename, MPI_MODE_CREATE | MPI_MODE_EXCL | MPI_MODE_WRONLY, MPI_INFO_NULL, &amp;<a class="code" href="st-stats-buffer_8c.html#a7a20696378280060e4f94cf26c72a405">buffer_fh</a>[type]);</div>
<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;        <span class="keywordflow">else</span> <span class="keywordflow">if</span> (strcmp(<a class="code" href="st-stats-buffer_8c.html#aaa85cd5c11b1b615a8bf097a16ff6195">file_suffix</a>[type], <span class="stringliteral">&quot;evtrace&quot;</span>) == 0 &amp;&amp; <a class="code" href="ross-extern_8h.html#ae22db4d4e754eff64535402f5fa60a5f">g_tw_synchronization_protocol</a> == <a class="code" href="ross-types_8h.html#abea764c61c75c56008ccf665a71246fda6b834d43476553e583e0fde6578c82f0">SEQUENTIAL</a>)</div>
<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;            <a class="code" href="st-stats-buffer_8c.html#a7f045b1373c5b216126b5faaba8fa470">seq_ev_trace</a> = fopen(filename, <span class="stringliteral">&quot;w&quot;</span>);</div>
<div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;        <span class="keywordflow">else</span> <span class="keywordflow">if</span> (strcmp(<a class="code" href="st-stats-buffer_8c.html#aaa85cd5c11b1b615a8bf097a16ff6195">file_suffix</a>[type], <span class="stringliteral">&quot;model&quot;</span>) == 0 &amp;&amp; <a class="code" href="ross-extern_8h.html#ae22db4d4e754eff64535402f5fa60a5f">g_tw_synchronization_protocol</a> == <a class="code" href="ross-types_8h.html#abea764c61c75c56008ccf665a71246fda6b834d43476553e583e0fde6578c82f0">SEQUENTIAL</a>)</div>
<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;            <a class="code" href="st-stats-buffer_8c.html#a8fd07dc1fe2e480e47f680e67e2b4557">seq_model</a> = fopen(filename, <span class="stringliteral">&quot;w&quot;</span>);</div>
<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;        <span class="keywordflow">else</span> <span class="keywordflow">if</span> (type == <a class="code" href="st-instrumentation_8h.html#a62e322fd5fc534ed1f671bfcae80f21fa0bfba3b728463b2ee027b64c81b96011">ANALYSIS_LP</a> &amp;&amp; <a class="code" href="ross-extern_8h.html#ae22db4d4e754eff64535402f5fa60a5f">g_tw_synchronization_protocol</a> == <a class="code" href="ross-types_8h.html#abea764c61c75c56008ccf665a71246fda6b834d43476553e583e0fde6578c82f0">SEQUENTIAL</a>)</div>
<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;            <a class="code" href="st-stats-buffer_8c.html#a729f18614571dcca273498b46b86d98f">seq_analysis</a> = fopen(filename, <span class="stringliteral">&quot;w&quot;</span>);</div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;</div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;    }</div>
<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;}</div>
<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;</div>
<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;<span class="comment">/* write stats to buffer</span></div>
<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;<span class="comment"> * currently does not overwrite in cases of overflow, just records the amount of overflow in bytes</span></div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;<span class="comment"> * for later reporting</span></div>
<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00100"></a><span class="lineno"><a class="line" href="st-stats-buffer_8c.html#a726b5dd5323e5d253e35d7fff164e6a5">  100</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="st-stats-buffer_8c.html#a726b5dd5323e5d253e35d7fff164e6a5">st_buffer_push</a>(<span class="keywordtype">int</span> type, <span class="keywordtype">char</span> *data, <span class="keywordtype">int</span> size)</div>
<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;{</div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;    <span class="keywordtype">int</span> size1, size2;</div>
<div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;    <span class="keywordflow">if</span> (!<a class="code" href="st-instrumentation_8c.html#aa9d73558c451caac8d15fdbff04f42cc">g_st_disable_out</a> &amp;&amp; <a class="code" href="st-instrumentation_8h.html#acc8788eb34d764c2cafd035b66f33087">st_buffer_free_space</a>(g_st_buffer[type]) &lt; size)</div>
<div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;    {</div>
<div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;        <span class="keywordflow">if</span> (!<a class="code" href="st-stats-buffer_8c.html#a0933ab5439795f559c01de07e8a2eb06">buffer_overflow_warned</a>)</div>
<div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;        {</div>
<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;            printf(<span class="stringliteral">&quot;WARNING: Stats buffer overflow on rank %lu\n&quot;</span>, <a class="code" href="ross-extern_8h.html#a83ae3f8b8b94935a1dbdfa2d2552f508">g_tw_mynode</a>);</div>
<div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;            <a class="code" href="st-stats-buffer_8c.html#a0933ab5439795f559c01de07e8a2eb06">buffer_overflow_warned</a> = 1;</div>
<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;            printf(<span class="stringliteral">&quot;tw_now() = %f\n&quot;</span>, <a class="code" href="ross_8h.html#a096f73feb08316896d644277b486c9ea">TW_STIME_DBL</a>(<a class="code" href="ross-kernel-inline_8h.html#a543cb527662432d81f65c327e5e5f1b0">tw_now</a>(<a class="code" href="ross-extern_8h.html#a43d0a4ccc4cb71f94675a4b64a7c60c0">g_tw_lp</a>[0])));</div>
<div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;        }</div>
<div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;        <a class="code" href="st-stats-buffer_8c.html#a86bd57ddbfb119e4a19e5789df413b7d">missed_bytes</a> += size;</div>
<div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;        size = 0; <span class="comment">// if we can&#39;t push it all, don&#39;t push anything to buffer</span></div>
<div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;    }</div>
<div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;</div>
<div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;    <span class="keywordflow">if</span> (size)</div>
<div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;    {</div>
<div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;        <span class="keywordflow">if</span> ((size1 = g_st_buffer[type]-&gt;size - g_st_buffer[type]-&gt;write_pos) &gt;= size)</div>
<div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;        {</div>
<div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;            <span class="comment">// can use only one memcpy here</span></div>
<div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;            memcpy(<a class="code" href="st-instrumentation_8h.html#a38415b42baccfb2c875a23a7700daedc">st_buffer_write_ptr</a>(g_st_buffer[type]), data, size);</div>
<div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;            g_st_buffer[type]-&gt;<a class="code" href="structst__stats__buffer.html#a6ede8cc4838df499469c1e234d9c6357">write_pos</a> += size;</div>
<div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;        }</div>
<div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;        <span class="keywordflow">else</span> <span class="comment">// data to be stored wraps around end of physical array</span></div>
<div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;        {</div>
<div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;            size2 = size - size1;</div>
<div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;            memcpy(<a class="code" href="st-instrumentation_8h.html#a38415b42baccfb2c875a23a7700daedc">st_buffer_write_ptr</a>(g_st_buffer[type]), data, size1);</div>
<div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;            memcpy(g_st_buffer[type]-&gt;buffer, data + size1, size2);</div>
<div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;            g_st_buffer[type]-&gt;<a class="code" href="structst__stats__buffer.html#a6ede8cc4838df499469c1e234d9c6357">write_pos</a> = size2;</div>
<div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;        }</div>
<div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;    }</div>
<div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;    g_st_buffer[type]-&gt;<a class="code" href="structst__stats__buffer.html#a45ba57b226c19da357c2238a5b78dada">count</a> += size;</div>
<div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;    <span class="comment">//printf(&quot;PE %ld wrote %d bytes to buffer; %d bytes of free space left\n&quot;, g_tw_mynode, size, st_buffer_free_space(g_st_buffer[type]));</span></div>
<div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;}</div>
<div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;</div>
<div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;<span class="comment">/* determine whether to dump buffer to file</span></div>
<div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;<span class="comment"> * should only be called at GVT! */</span></div>
<div class="line"><a name="l00137"></a><span class="lineno"><a class="line" href="st-stats-buffer_8c.html#aeeea74d1470f40aea408a03c56597f13">  137</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="st-stats-buffer_8c.html#aeeea74d1470f40aea408a03c56597f13">st_buffer_write</a>(<span class="keywordtype">int</span> end_of_sim, <span class="keywordtype">int</span> type)</div>
<div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;{</div>
<div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;    MPI_Offset offset = <a class="code" href="st-stats-buffer_8c.html#aa3ef968b8508efce4af24ee8658abbb0">prev_offsets</a>[type];</div>
<div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;    MPI_File *fh = &amp;<a class="code" href="st-stats-buffer_8c.html#a7a20696378280060e4f94cf26c72a405">buffer_fh</a>[type];</div>
<div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;    <span class="keywordtype">int</span> write_to_file = 0;</div>
<div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;    <span class="keywordtype">int</span> my_write_size = 0;</div>
<div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;    <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i;</div>
<div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;    <span class="keywordtype">int</span> write_sizes[<a class="code" href="network-mpi_8c.html#a2818efb70df48e5e29d3dacb3e2de009">tw_nnodes</a>()];</div>
<div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;    <a class="code" href="aarch64_8h.html#abcd6b97b84bebf1f961f85cd24b56c60">tw_clock</a> start_cycle_time = <a class="code" href="aarch64_8h.html#a450cf25fa5291629087ca4198de55757">tw_clock_read</a>();</div>
<div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;</div>
<div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;    my_write_size = g_st_buffer[type]-&gt;<a class="code" href="structst__stats__buffer.html#a45ba57b226c19da357c2238a5b78dada">count</a>;</div>
<div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;</div>
<div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;    MPI_Allgather(&amp;my_write_size, 1, MPI_INT, &amp;write_sizes[0], 1, MPI_INT, <a class="code" href="network-mpi_8c.html#af1faeba2bc478835b35af43287f19ba7">MPI_COMM_ROSS</a>);</div>
<div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;    <span class="keywordflow">if</span> (end_of_sim)</div>
<div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;        write_to_file = 1;</div>
<div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;    <span class="keywordflow">else</span></div>
<div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;    {</div>
<div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;        <span class="keywordflow">for</span> (i = 0; i &lt; <a class="code" href="network-mpi_8c.html#a2818efb70df48e5e29d3dacb3e2de009">tw_nnodes</a>(); i++)</div>
<div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;        {</div>
<div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;            <span class="keywordflow">if</span> ((<span class="keywordtype">double</span>) write_sizes[i] / <a class="code" href="st-stats-buffer_8c.html#ab44c46d8e6cc653effbfee8463cc7796">g_st_buffer_size</a> &gt;= <a class="code" href="st-stats-buffer_8c.html#a5a5195bc43cc6594dc5fc3cbed1ec994">g_st_buffer_free_percent</a> / 100.0)</div>
<div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;                write_to_file = 1;</div>
<div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;        }</div>
<div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;    }</div>
<div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;</div>
<div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;    <span class="keywordflow">if</span> (write_to_file)</div>
<div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;    {</div>
<div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;        <span class="keywordflow">for</span> (i = 0; i &lt; <a class="code" href="network-mpi_8c.html#a2818efb70df48e5e29d3dacb3e2de009">tw_nnodes</a>(); i++)</div>
<div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;        {</div>
<div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;            <span class="keywordflow">if</span> (i &lt; <a class="code" href="ross-extern_8h.html#a83ae3f8b8b94935a1dbdfa2d2552f508">g_tw_mynode</a>)</div>
<div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;                offset += write_sizes[i];</div>
<div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;            <a class="code" href="st-stats-buffer_8c.html#aa3ef968b8508efce4af24ee8658abbb0">prev_offsets</a>[type] += write_sizes[i];</div>
<div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;        }</div>
<div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;        <span class="comment">//printf(&quot;rank %ld writing %d bytes at offset %lld (prev_offsets[ANALYSIS_LP] = %lld)\n&quot;, g_tw_mynode, my_write_size, offset, prev_offsets[type]);</span></div>
<div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;        <span class="comment">// dump buffer to file</span></div>
<div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;        MPI_Status status;</div>
<div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;        <a class="code" href="ross-extern_8h.html#a2f67789cc425e7d839fa4b983f5b8505">g_tw_pe</a>-&gt;<a class="code" href="structtw__pe.html#ac1d26b7bfd058cc55cbf5ee201edb83c">stats</a>.<a class="code" href="structtw__statistics.html#af5f39d1286d62c54c9cc14c8e5f16544">s_stat_comp</a> += <a class="code" href="aarch64_8h.html#a450cf25fa5291629087ca4198de55757">tw_clock_read</a>() - start_cycle_time;</div>
<div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;        start_cycle_time = <a class="code" href="aarch64_8h.html#a450cf25fa5291629087ca4198de55757">tw_clock_read</a>();</div>
<div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;        MPI_File_write_at_all(*fh, offset, <a class="code" href="st-instrumentation_8h.html#afcc98de65294b91bcbb52e1bc8c03bc7">st_buffer_read_ptr</a>(g_st_buffer[type]), my_write_size, MPI_BYTE, &amp;status);</div>
<div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160;        <a class="code" href="ross-extern_8h.html#a2f67789cc425e7d839fa4b983f5b8505">g_tw_pe</a>-&gt;<a class="code" href="structtw__pe.html#ac1d26b7bfd058cc55cbf5ee201edb83c">stats</a>.<a class="code" href="structtw__statistics.html#a2795cbca69365a04b8f0f6838f3086f5">s_stat_write</a> += <a class="code" href="aarch64_8h.html#a450cf25fa5291629087ca4198de55757">tw_clock_read</a>() - start_cycle_time;</div>
<div class="line"><a name="l00176"></a><span class="lineno">  176</span>&#160;</div>
<div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160;        <span class="comment">// reset the buffer</span></div>
<div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160;        g_st_buffer[type]-&gt;<a class="code" href="structst__stats__buffer.html#a6ede8cc4838df499469c1e234d9c6357">write_pos</a> = 0;</div>
<div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;        g_st_buffer[type]-&gt;<a class="code" href="structst__stats__buffer.html#a66f8c1d1d9733404ef5f531a9f91f264">read_pos</a> = 0;</div>
<div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160;        g_st_buffer[type]-&gt;<a class="code" href="structst__stats__buffer.html#a45ba57b226c19da357c2238a5b78dada">count</a> = 0;</div>
<div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160;        <a class="code" href="st-stats-buffer_8c.html#a0933ab5439795f559c01de07e8a2eb06">buffer_overflow_warned</a> = 0;</div>
<div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;    }</div>
<div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160;    <span class="keywordflow">else</span></div>
<div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160;        <a class="code" href="ross-extern_8h.html#a2f67789cc425e7d839fa4b983f5b8505">g_tw_pe</a>-&gt;<a class="code" href="structtw__pe.html#ac1d26b7bfd058cc55cbf5ee201edb83c">stats</a>.<a class="code" href="structtw__statistics.html#af5f39d1286d62c54c9cc14c8e5f16544">s_stat_comp</a> += <a class="code" href="aarch64_8h.html#a450cf25fa5291629087ca4198de55757">tw_clock_read</a>() - start_cycle_time;</div>
<div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160;}</div>
<div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160;</div>
<div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160;<span class="comment">/* make sure we write out any remaining buffer data */</span></div>
<div class="line"><a name="l00188"></a><span class="lineno"><a class="line" href="st-stats-buffer_8c.html#af1693cc16ddc2e345ece670ed34a81f8">  188</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="st-stats-buffer_8c.html#af1693cc16ddc2e345ece670ed34a81f8">st_buffer_finalize</a>(<span class="keywordtype">int</span> type)</div>
<div class="line"><a name="l00189"></a><span class="lineno">  189</span>&#160;{</div>
<div class="line"><a name="l00190"></a><span class="lineno">  190</span>&#160;    <span class="comment">// check if any data needs to be written out</span></div>
<div class="line"><a name="l00191"></a><span class="lineno">  191</span>&#160;    <span class="keywordflow">if</span> (!<a class="code" href="st-instrumentation_8c.html#aa9d73558c451caac8d15fdbff04f42cc">g_st_disable_out</a>)</div>
<div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160;        <a class="code" href="st-stats-buffer_8c.html#aeeea74d1470f40aea408a03c56597f13">st_buffer_write</a>(1, type);</div>
<div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160;</div>
<div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160;    printf(<span class="stringliteral">&quot;PE %ld: There were %ld bytes of data missed because of buffer overflow\n&quot;</span>, <a class="code" href="ross-extern_8h.html#a83ae3f8b8b94935a1dbdfa2d2552f508">g_tw_mynode</a>, <a class="code" href="st-stats-buffer_8c.html#a86bd57ddbfb119e4a19e5789df413b7d">missed_bytes</a>);</div>
<div class="line"><a name="l00195"></a><span class="lineno">  195</span>&#160;</div>
<div class="line"><a name="l00196"></a><span class="lineno">  196</span>&#160;    MPI_File_close(&amp;<a class="code" href="st-stats-buffer_8c.html#a7a20696378280060e4f94cf26c72a405">buffer_fh</a>[type]);</div>
<div class="line"><a name="l00197"></a><span class="lineno">  197</span>&#160;</div>
<div class="line"><a name="l00198"></a><span class="lineno">  198</span>&#160;}</div>
<div class="ttc" id="ross-extern_8h_html_ae22db4d4e754eff64535402f5fa60a5f"><div class="ttname"><a href="ross-extern_8h.html#ae22db4d4e754eff64535402f5fa60a5f">g_tw_synchronization_protocol</a></div><div class="ttdeci">tw_synch g_tw_synchronization_protocol</div><div class="ttdef"><b>Definition:</b> <a href="ross-global_8c_source.html#l00018">ross-global.c:18</a></div></div>
<div class="ttc" id="ross-extern_8h_html_afffdf140f2c492f61546ad783833f127"><div class="ttname"><a href="ross-extern_8h.html#afffdf140f2c492f61546ad783833f127">TW_LOC</a></div><div class="ttdeci">#define TW_LOC</div><div class="ttdef"><b>Definition:</b> <a href="ross-extern_8h_source.html#l00164">ross-extern.h:164</a></div></div>
<div class="ttc" id="st-instrumentation_8c_html_abac0ec68b20db932445f4e9c699fef5a"><div class="ttname"><a href="st-instrumentation_8c.html#abac0ec68b20db932445f4e9c699fef5a">g_st_stats_path</a></div><div class="ttdeci">char g_st_stats_path[4096]</div><div class="ttdef"><b>Definition:</b> <a href="st-instrumentation_8c_source.html#l00005">st-instrumentation.c:5</a></div></div>
<div class="ttc" id="ross-extern_8h_html_a43d0a4ccc4cb71f94675a4b64a7c60c0"><div class="ttname"><a href="ross-extern_8h.html#a43d0a4ccc4cb71f94675a4b64a7c60c0">g_tw_lp</a></div><div class="ttdeci">tw_lp ** g_tw_lp</div><div class="ttdef"><b>Definition:</b> <a href="ross-global_8c_source.html#l00026">ross-global.c:26</a></div></div>
<div class="ttc" id="st-stats-buffer_8c_html_a5cc340aa8e43a288efaa66bb48fab91c"><div class="ttname"><a href="st-stats-buffer_8c.html#a5cc340aa8e43a288efaa66bb48fab91c">g_st_buffer</a></div><div class="ttdeci">static st_stats_buffer ** g_st_buffer</div><div class="ttdef"><b>Definition:</b> <a href="st-stats-buffer_8c_source.html#l00014">st-stats-buffer.c:14</a></div></div>
<div class="ttc" id="st-stats-buffer_8c_html_a726b5dd5323e5d253e35d7fff164e6a5"><div class="ttname"><a href="st-stats-buffer_8c.html#a726b5dd5323e5d253e35d7fff164e6a5">st_buffer_push</a></div><div class="ttdeci">void st_buffer_push(int type, char *data, int size)</div><div class="ttdef"><b>Definition:</b> <a href="st-stats-buffer_8c_source.html#l00100">st-stats-buffer.c:100</a></div></div>
<div class="ttc" id="st-stats-buffer_8c_html_aeeea74d1470f40aea408a03c56597f13"><div class="ttname"><a href="st-stats-buffer_8c.html#aeeea74d1470f40aea408a03c56597f13">st_buffer_write</a></div><div class="ttdeci">void st_buffer_write(int end_of_sim, int type)</div><div class="ttdef"><b>Definition:</b> <a href="st-stats-buffer_8c_source.html#l00137">st-stats-buffer.c:137</a></div></div>
<div class="ttc" id="st-stats-buffer_8c_html_a5a5195bc43cc6594dc5fc3cbed1ec994"><div class="ttname"><a href="st-stats-buffer_8c.html#a5a5195bc43cc6594dc5fc3cbed1ec994">g_st_buffer_free_percent</a></div><div class="ttdeci">int g_st_buffer_free_percent</div><div class="ttdef"><b>Definition:</b> <a href="st-stats-buffer_8c_source.html#l00010">st-stats-buffer.c:10</a></div></div>
<div class="ttc" id="structtw__pe_html_ac1d26b7bfd058cc55cbf5ee201edb83c"><div class="ttname"><a href="structtw__pe.html#ac1d26b7bfd058cc55cbf5ee201edb83c">tw_pe::stats</a></div><div class="ttdeci">tw_statistics stats</div><div class="ttdoc">per PE counters </div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00415">ross-types.h:415</a></div></div>
<div class="ttc" id="st-stats-buffer_8c_html_aa3ef968b8508efce4af24ee8658abbb0"><div class="ttname"><a href="st-stats-buffer_8c.html#aa3ef968b8508efce4af24ee8658abbb0">prev_offsets</a></div><div class="ttdeci">static MPI_Offset * prev_offsets</div><div class="ttdef"><b>Definition:</b> <a href="st-stats-buffer_8c_source.html#l00006">st-stats-buffer.c:6</a></div></div>
<div class="ttc" id="st-stats-buffer_8c_html_a8fd07dc1fe2e480e47f680e67e2b4557"><div class="ttname"><a href="st-stats-buffer_8c.html#a8fd07dc1fe2e480e47f680e67e2b4557">seq_model</a></div><div class="ttdeci">FILE * seq_model</div><div class="ttdef"><b>Definition:</b> <a href="st-stats-buffer_8c_source.html#l00013">st-stats-buffer.c:13</a></div></div>
<div class="ttc" id="aarch64_8h_html_a450cf25fa5291629087ca4198de55757"><div class="ttname"><a href="aarch64_8h.html#a450cf25fa5291629087ca4198de55757">tw_clock_read</a></div><div class="ttdeci">static tw_clock tw_clock_read(void)</div><div class="ttdef"><b>Definition:</b> <a href="aarch64_8h_source.html#l00006">aarch64.h:6</a></div></div>
<div class="ttc" id="st-instrumentation_8c_html_aa6002a27f9236e4d9c61090a247341f5"><div class="ttname"><a href="st-instrumentation_8c.html#aa6002a27f9236e4d9c61090a247341f5">g_st_engine_stats</a></div><div class="ttdeci">int g_st_engine_stats</div><div class="ttdef"><b>Definition:</b> <a href="st-instrumentation_8c_source.html#l00012">st-instrumentation.c:12</a></div></div>
<div class="ttc" id="st-stats-buffer_8c_html_a7f045b1373c5b216126b5faaba8fa470"><div class="ttname"><a href="st-stats-buffer_8c.html#a7f045b1373c5b216126b5faaba8fa470">seq_ev_trace</a></div><div class="ttdeci">FILE * seq_ev_trace</div><div class="ttdef"><b>Definition:</b> <a href="st-stats-buffer_8c_source.html#l00013">st-stats-buffer.c:13</a></div></div>
<div class="ttc" id="st-instrumentation_8h_html_a62e322fd5fc534ed1f671bfcae80f21faa337126075609fd5b808fdfbdf14369f"><div class="ttname"><a href="st-instrumentation_8h.html#a62e322fd5fc534ed1f671bfcae80f21faa337126075609fd5b808fdfbdf14369f">NUM_COL_TYPES</a></div><div class="ttdef"><b>Definition:</b> <a href="st-instrumentation_8h_source.html#l00046">st-instrumentation.h:46</a></div></div>
<div class="ttc" id="network-mpi_8c_html_af1faeba2bc478835b35af43287f19ba7"><div class="ttname"><a href="network-mpi_8c.html#af1faeba2bc478835b35af43287f19ba7">MPI_COMM_ROSS</a></div><div class="ttdeci">MPI_Comm MPI_COMM_ROSS</div><div class="ttdef"><b>Definition:</b> <a href="network-mpi_8c_source.html#l00004">network-mpi.c:4</a></div></div>
<div class="ttc" id="structtw__statistics_html_af5f39d1286d62c54c9cc14c8e5f16544"><div class="ttname"><a href="structtw__statistics.html#af5f39d1286d62c54c9cc14c8e5f16544">tw_statistics::s_stat_comp</a></div><div class="ttdeci">tw_clock s_stat_comp</div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00151">ross-types.h:151</a></div></div>
<div class="ttc" id="network-mpi_8c_html_a2818efb70df48e5e29d3dacb3e2de009"><div class="ttname"><a href="network-mpi_8c.html#a2818efb70df48e5e29d3dacb3e2de009">tw_nnodes</a></div><div class="ttdeci">unsigned int tw_nnodes(void)</div><div class="ttdef"><b>Definition:</b> <a href="network-mpi_8c_source.html#l00103">network-mpi.c:103</a></div></div>
<div class="ttc" id="st-stats-buffer_8c_html_acc40ff4e443edf9cfd1a2a1f5539a41d"><div class="ttname"><a href="st-stats-buffer_8c.html#acc40ff4e443edf9cfd1a2a1f5539a41d">st_buffer_allocate</a></div><div class="ttdeci">void st_buffer_allocate()</div><div class="ttdef"><b>Definition:</b> <a href="st-stats-buffer_8c_source.html#l00016">st-stats-buffer.c:16</a></div></div>
<div class="ttc" id="st-instrumentation_8h_html_a2d0c8b178913329ba300f0773ed9d10f"><div class="ttname"><a href="st-instrumentation_8h.html#a2d0c8b178913329ba300f0773ed9d10f">INST_MAX_LENGTH</a></div><div class="ttdeci">#define INST_MAX_LENGTH</div><div class="ttdef"><b>Definition:</b> <a href="st-instrumentation_8h_source.html#l00011">st-instrumentation.h:11</a></div></div>
<div class="ttc" id="structst__stats__buffer_html_a45ba57b226c19da357c2238a5b78dada"><div class="ttname"><a href="structst__stats__buffer.html#a45ba57b226c19da357c2238a5b78dada">st_stats_buffer::count</a></div><div class="ttdeci">int count</div><div class="ttdef"><b>Definition:</b> <a href="st-instrumentation_8h_source.html#l00023">st-instrumentation.h:23</a></div></div>
<div class="ttc" id="structst__stats__buffer_html_a7a2303f87be4a016fed50bd61b39ea07"><div class="ttname"><a href="structst__stats__buffer.html#a7a2303f87be4a016fed50bd61b39ea07">st_stats_buffer::size</a></div><div class="ttdeci">int size</div><div class="ttdef"><b>Definition:</b> <a href="st-instrumentation_8h_source.html#l00020">st-instrumentation.h:20</a></div></div>
<div class="ttc" id="st-stats-buffer_8c_html_a9c813e13608176ebd85999c935e3c4af"><div class="ttname"><a href="st-stats-buffer_8c.html#a9c813e13608176ebd85999c935e3c4af">st_buffer_init</a></div><div class="ttdeci">void st_buffer_init(int type)</div><div class="ttdef"><b>Definition:</b> <a href="st-stats-buffer_8c_source.html#l00062">st-stats-buffer.c:62</a></div></div>
<div class="ttc" id="st-stats-buffer_8c_html_a0933ab5439795f559c01de07e8a2eb06"><div class="ttname"><a href="st-stats-buffer_8c.html#a0933ab5439795f559c01de07e8a2eb06">buffer_overflow_warned</a></div><div class="ttdeci">static int buffer_overflow_warned</div><div class="ttdef"><b>Definition:</b> <a href="st-stats-buffer_8c_source.html#l00011">st-stats-buffer.c:11</a></div></div>
<div class="ttc" id="st-stats-buffer_8c_html_ab44c46d8e6cc653effbfee8463cc7796"><div class="ttname"><a href="st-stats-buffer_8c.html#ab44c46d8e6cc653effbfee8463cc7796">g_st_buffer_size</a></div><div class="ttdeci">int g_st_buffer_size</div><div class="ttdef"><b>Definition:</b> <a href="st-stats-buffer_8c_source.html#l00009">st-stats-buffer.c:9</a></div></div>
<div class="ttc" id="st-instrumentation_8h_html_acc8788eb34d764c2cafd035b66f33087"><div class="ttname"><a href="st-instrumentation_8h.html#acc8788eb34d764c2cafd035b66f33087">st_buffer_free_space</a></div><div class="ttdeci">#define st_buffer_free_space(buf)</div><div class="ttdef"><b>Definition:</b> <a href="st-instrumentation_8h_source.html#l00014">st-instrumentation.h:14</a></div></div>
<div class="ttc" id="st-instrumentation_8h_html_a38415b42baccfb2c875a23a7700daedc"><div class="ttname"><a href="st-instrumentation_8h.html#a38415b42baccfb2c875a23a7700daedc">st_buffer_write_ptr</a></div><div class="ttdeci">#define st_buffer_write_ptr(buf)</div><div class="ttdef"><b>Definition:</b> <a href="st-instrumentation_8h_source.html#l00015">st-instrumentation.h:15</a></div></div>
<div class="ttc" id="structst__stats__buffer_html"><div class="ttname"><a href="structst__stats__buffer.html">st_stats_buffer</a></div><div class="ttdef"><b>Definition:</b> <a href="st-instrumentation_8h_source.html#l00018">st-instrumentation.h:18</a></div></div>
<div class="ttc" id="structtw__statistics_html_a2795cbca69365a04b8f0f6838f3086f5"><div class="ttname"><a href="structtw__statistics.html#a2795cbca69365a04b8f0f6838f3086f5">tw_statistics::s_stat_write</a></div><div class="ttdeci">tw_clock s_stat_write</div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00152">ross-types.h:152</a></div></div>
<div class="ttc" id="specialized-lps_8c_html_af684a7b76fde8ed0e32b8a155af94f92"><div class="ttname"><a href="specialized-lps_8c.html#af684a7b76fde8ed0e32b8a155af94f92">g_st_use_analysis_lps</a></div><div class="ttdeci">int g_st_use_analysis_lps</div><div class="ttdef"><b>Definition:</b> <a href="specialized-lps_8c_source.html#l00011">specialized-lps.c:11</a></div></div>
<div class="ttc" id="st-stats-buffer_8c_html_a86bd57ddbfb119e4a19e5789df413b7d"><div class="ttname"><a href="st-stats-buffer_8c.html#a86bd57ddbfb119e4a19e5789df413b7d">missed_bytes</a></div><div class="ttdeci">static long missed_bytes</div><div class="ttdef"><b>Definition:</b> <a href="st-stats-buffer_8c_source.html#l00005">st-stats-buffer.c:5</a></div></div>
<div class="ttc" id="st-instrumentation_8h_html_a62e322fd5fc534ed1f671bfcae80f21fa0bfba3b728463b2ee027b64c81b96011"><div class="ttname"><a href="st-instrumentation_8h.html#a62e322fd5fc534ed1f671bfcae80f21fa0bfba3b728463b2ee027b64c81b96011">ANALYSIS_LP</a></div><div class="ttdef"><b>Definition:</b> <a href="st-instrumentation_8h_source.html#l00043">st-instrumentation.h:43</a></div></div>
<div class="ttc" id="ross-kernel-inline_8h_html_a543cb527662432d81f65c327e5e5f1b0"><div class="ttname"><a href="ross-kernel-inline_8h.html#a543cb527662432d81f65c327e5e5f1b0">tw_now</a></div><div class="ttdeci">static tw_stime tw_now(tw_lp const *lp)</div><div class="ttdef"><b>Definition:</b> <a href="ross-kernel-inline_8h_source.html#l00080">ross-kernel-inline.h:80</a></div></div>
<div class="ttc" id="structst__stats__buffer_html_a66f8c1d1d9733404ef5f531a9f91f264"><div class="ttname"><a href="structst__stats__buffer.html#a66f8c1d1d9733404ef5f531a9f91f264">st_stats_buffer::read_pos</a></div><div class="ttdeci">int read_pos</div><div class="ttdef"><b>Definition:</b> <a href="st-instrumentation_8h_source.html#l00022">st-instrumentation.h:22</a></div></div>
<div class="ttc" id="ross-extern_8h_html_a83ae3f8b8b94935a1dbdfa2d2552f508"><div class="ttname"><a href="ross-extern_8h.html#a83ae3f8b8b94935a1dbdfa2d2552f508">g_tw_mynode</a></div><div class="ttdeci">tw_peid g_tw_mynode</div><div class="ttdef"><b>Definition:</b> <a href="ross-global_8c_source.html#l00088">ross-global.c:88</a></div></div>
<div class="ttc" id="ross-extern_8h_html_abb6067d27f1c3e888c1d276490f28088"><div class="ttname"><a href="ross-extern_8h.html#abb6067d27f1c3e888c1d276490f28088">g_tw_masternode</a></div><div class="ttdeci">tw_peid g_tw_masternode</div><div class="ttdef"><b>Definition:</b> <a href="ross-global_8c_source.html#l00089">ross-global.c:89</a></div></div>
<div class="ttc" id="st-instrumentation_8h_html_afcc98de65294b91bcbb52e1bc8c03bc7"><div class="ttname"><a href="st-instrumentation_8h.html#afcc98de65294b91bcbb52e1bc8c03bc7">st_buffer_read_ptr</a></div><div class="ttdeci">#define st_buffer_read_ptr(buf)</div><div class="ttdef"><b>Definition:</b> <a href="st-instrumentation_8h_source.html#l00016">st-instrumentation.h:16</a></div></div>
<div class="ttc" id="st-stats-buffer_8c_html_a729f18614571dcca273498b46b86d98f"><div class="ttname"><a href="st-stats-buffer_8c.html#a729f18614571dcca273498b46b86d98f">seq_analysis</a></div><div class="ttdeci">FILE * seq_analysis</div><div class="ttdef"><b>Definition:</b> <a href="st-stats-buffer_8c_source.html#l00013">st-stats-buffer.c:13</a></div></div>
<div class="ttc" id="ross_8h_html"><div class="ttname"><a href="ross_8h.html">ross.h</a></div></div>
<div class="ttc" id="st-instrumentation_8c_html_a4775e770faa8c51fc4d08989f610770f"><div class="ttname"><a href="st-instrumentation_8c.html#a4775e770faa8c51fc4d08989f610770f">g_st_model_stats</a></div><div class="ttdeci">int g_st_model_stats</div><div class="ttdef"><b>Definition:</b> <a href="st-instrumentation_8c_source.html#l00011">st-instrumentation.c:11</a></div></div>
<div class="ttc" id="ross-extern_8h_html_a2f67789cc425e7d839fa4b983f5b8505"><div class="ttname"><a href="ross-extern_8h.html#a2f67789cc425e7d839fa4b983f5b8505">g_tw_pe</a></div><div class="ttdeci">tw_pe * g_tw_pe</div><div class="ttdef"><b>Definition:</b> <a href="ross-global_8c_source.html#l00075">ross-global.c:75</a></div></div>
<div class="ttc" id="aarch64_8h_html_abcd6b97b84bebf1f961f85cd24b56c60"><div class="ttname"><a href="aarch64_8h.html#abcd6b97b84bebf1f961f85cd24b56c60">tw_clock</a></div><div class="ttdeci">uint64_t tw_clock</div><div class="ttdef"><b>Definition:</b> <a href="aarch64_8h_source.html#l00004">aarch64.h:4</a></div></div>
<div class="ttc" id="structst__stats__buffer_html_a6ede8cc4838df499469c1e234d9c6357"><div class="ttname"><a href="structst__stats__buffer.html#a6ede8cc4838df499469c1e234d9c6357">st_stats_buffer::write_pos</a></div><div class="ttdeci">int write_pos</div><div class="ttdef"><b>Definition:</b> <a href="st-instrumentation_8h_source.html#l00021">st-instrumentation.h:21</a></div></div>
<div class="ttc" id="st-event-trace_8c_html_aa8f89edcf6adbbfc0b12f6376ca511c3"><div class="ttname"><a href="st-event-trace_8c.html#aa8f89edcf6adbbfc0b12f6376ca511c3">g_st_ev_trace</a></div><div class="ttdeci">int g_st_ev_trace</div><div class="ttdef"><b>Definition:</b> <a href="st-event-trace_8c_source.html#l00003">st-event-trace.c:3</a></div></div>
<div class="ttc" id="st-stats-buffer_8c_html_aaa85cd5c11b1b615a8bf097a16ff6195"><div class="ttname"><a href="st-stats-buffer_8c.html#aaa85cd5c11b1b615a8bf097a16ff6195">file_suffix</a></div><div class="ttdeci">static const char * file_suffix[NUM_COL_TYPES]</div><div class="ttdef"><b>Definition:</b> <a href="st-stats-buffer_8c_source.html#l00012">st-stats-buffer.c:12</a></div></div>
<div class="ttc" id="st-stats-buffer_8c_html_a7a20696378280060e4f94cf26c72a405"><div class="ttname"><a href="st-stats-buffer_8c.html#a7a20696378280060e4f94cf26c72a405">buffer_fh</a></div><div class="ttdeci">static MPI_File * buffer_fh</div><div class="ttdef"><b>Definition:</b> <a href="st-stats-buffer_8c_source.html#l00007">st-stats-buffer.c:7</a></div></div>
<div class="ttc" id="st-instrumentation_8c_html_aa9d73558c451caac8d15fdbff04f42cc"><div class="ttname"><a href="st-instrumentation_8c.html#aa9d73558c451caac8d15fdbff04f42cc">g_st_disable_out</a></div><div class="ttdeci">int g_st_disable_out</div><div class="ttdef"><b>Definition:</b> <a href="st-instrumentation_8c_source.html#l00009">st-instrumentation.c:9</a></div></div>
<div class="ttc" id="st-instrumentation_8c_html_ad6fb1fc5b4b238584836005cc23b9794"><div class="ttname"><a href="st-instrumentation_8c.html#ad6fb1fc5b4b238584836005cc23b9794">g_st_stats_out</a></div><div class="ttdeci">char g_st_stats_out[INST_MAX_LENGTH]</div><div class="ttdef"><b>Definition:</b> <a href="st-instrumentation_8c_source.html#l00004">st-instrumentation.c:4</a></div></div>
<div class="ttc" id="ross-extern_8h_html_a445b1ed30cd2e8ef1f837e782a339a70"><div class="ttname"><a href="ross-extern_8h.html#a445b1ed30cd2e8ef1f837e782a339a70">tw_calloc</a></div><div class="ttdeci">void * tw_calloc(const char *file, int line, const char *for_who, size_t e_sz, size_t n)</div><div class="ttdef"><b>Definition:</b> <a href="tw-util_8c_source.html#l00203">tw-util.c:203</a></div></div>
<div class="ttc" id="st-stats-buffer_8c_html_af1693cc16ddc2e345ece670ed34a81f8"><div class="ttname"><a href="st-stats-buffer_8c.html#af1693cc16ddc2e345ece670ed34a81f8">st_buffer_finalize</a></div><div class="ttdeci">void st_buffer_finalize(int type)</div><div class="ttdef"><b>Definition:</b> <a href="st-stats-buffer_8c_source.html#l00188">st-stats-buffer.c:188</a></div></div>
<div class="ttc" id="ross_8h_html_a096f73feb08316896d644277b486c9ea"><div class="ttname"><a href="ross_8h.html#a096f73feb08316896d644277b486c9ea">TW_STIME_DBL</a></div><div class="ttdeci">#define TW_STIME_DBL(x)</div><div class="ttdef"><b>Definition:</b> <a href="ross_8h_source.html#l00153">ross.h:153</a></div></div>
<div class="ttc" id="st-stats-buffer_8c_html_aa0aa6536ecd02a329ef6cdcf90d91a1b"><div class="ttname"><a href="st-stats-buffer_8c.html#aa0aa6536ecd02a329ef6cdcf90d91a1b">stats_directory</a></div><div class="ttdeci">char stats_directory[INST_MAX_LENGTH]</div><div class="ttdef"><b>Definition:</b> <a href="st-stats-buffer_8c_source.html#l00008">st-stats-buffer.c:8</a></div></div>
<div class="ttc" id="ross-types_8h_html_abea764c61c75c56008ccf665a71246fda6b834d43476553e583e0fde6578c82f0"><div class="ttname"><a href="ross-types_8h.html#abea764c61c75c56008ccf665a71246fda6b834d43476553e583e0fde6578c82f0">SEQUENTIAL</a></div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00028">ross-types.h:28</a></div></div>
<div class="ttc" id="structst__stats__buffer_html_aaff85eeac754d61556c9a49bfe923465"><div class="ttname"><a href="structst__stats__buffer.html#aaff85eeac754d61556c9a49bfe923465">st_stats_buffer::buffer</a></div><div class="ttdeci">char * buffer</div><div class="ttdef"><b>Definition:</b> <a href="st-instrumentation_8h_source.html#l00019">st-instrumentation.h:19</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
</body>
</html>
